package com.lcj.crawler;

import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Text;
import com.geccocrawler.gecco.spider.HtmlBean;

public class ContactPersonBean implements HtmlBean {
    @Text
    @HtmlField(cssPath = "div.contact_con > p:eq(0)")
    private String contactPerson;

    @Text
    @HtmlField(cssPath = "div.contact_con > p:eq(1)")
    private String phone;

    @Text
    @HtmlField(cssPath = "div.contact_con > p:eq(2)")
    private String email;

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    @Text
    @HtmlField(cssPath = "div.contact_con > p:eq(3)")
    private String address;
}
